package com.xy.gateway.request.pay.handle;

import com.xy.gateway.exception.GateWayException;
import com.xy.gateway.request.pub.RequestURLHandler;

public class RequstFormHandlerStandart extends RequstFormHandlerAbstract {
	public RequstFormHandlerStandart(RequestParaHandler requestPara,
			RequestURLHandler requestURL) {
		super(requestPara, requestURL);
	}

	public String genForm() throws GateWayException{
		String formhead=genFormHead();
		String forminput=genFormHiddenInput();
		String formend=genFormEnd();
		StringBuffer sb=new StringBuffer();
		sb.append(formhead).append("\n");
		sb.append(forminput).append("\n");
		sb.append(formend).append("\n");
		return sb.toString();
	}
}
